package com.bw.service;

import com.bw.mapper.FastFoodMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FastFoodServiceImpl implements FastFoodService {
    @Autowired
    FastFoodMapper fastFoodMapper;
    @Override
    public List<Map> findTotal(String time) {
        return fastFoodMapper.findTotal(time);
    }

    @Override
    public List<Map> findPro(String time) {
        return fastFoodMapper.findPro(time);
    }

    @Override
    public List<Map> findHour(String time) {
        return fastFoodMapper.findHour(time);
    }

    @Override
    public List<Map> findSpu() {
        return fastFoodMapper.findSpu();
    }
}
